package cn.rgb.orm;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import cn.rgb.orm.config.SqlMapConfig;
import cn.rgb.orm.config.SqlMapping;

public interface ResultGetter {

	public Object getSingleResult(ResultSet rs, SqlMapConfig sqlMapConfig, SqlMapping sqlMapping, Class<?> resultClass) throws SQLException;
	
	public List<Object> getListResult(ResultSet rs, SqlMapConfig sqlMapConfig, SqlMapping sqlMapping, Class<?> resultClass) throws SQLException;
	
	public List<Object> getBatchResult(ResultSet rs, SqlMapConfig sqlMapConfig, SqlMapping sqlMapping, Class<?> resultClass) throws SQLException;
	
}
